﻿using System;

namespace TyNetCoreBlog.Models.Dto.Blog
{
    public class BlogDto
    {
        public int Id { get; set; }
        public string Title { get; set; }
        public string Description { get; set; }
        public string Contents { get; set; }
        public string AuthorNickname { get; set; }  //作者昵称
        public string Flag { get; set; }    //原创标记
        public int Views { get; set; }  //浏览量
        public bool ShareStatement { get; set; }    //转载声明
        public bool Published { get; set; } //是否发布
        public DateTime CreateTime { get; set; }
        public DateTime UpdateTime { get; set; }
        public string CategoryName { get; set; }
        public int CategoryId { get; set; }
    }
}
